/*** Layout ***/
body {
	font: 14px/1.5 sans-serif;
	margin: 0;
	padding: 0;
	background: #FFF;
	color: #222;
}

#header {
	background: #333;
	border-bottom: 5px solid #E4E2DA;
}

#header div.title {
	color: white;
	padding: 8px 0;
	font-size: 150%;
	text-shadow: rgba(0, 0, 0, 0.5) 1px 1px 2px;
}

#header a {
	color: #FFF499;
}

#header div.user {
	padding: 12px 1em;
	color: #FFF;
	position: absolute;
	top: 0;
	right: 0;
}

#header-inner {
	width: 900px;
	margin: 0 auto;
	position: relative;
}

#container {
	overflow: hidden;
	width: 900px;
	margin: 0 auto;
}

#sidebar {
	float: left;
	width: 210px;
}

#content {
	margin-left: 220px;
	padding: 20px;
}

#footer {
	margin: 2em;
	text-align: center;
	font-size: smaller;
}


/*** Navigation ***/
div.task-lists ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: block;
}

div.task-lists li {
	display: block;
}

div.task-lists a {
	text-decoration: none;
	display: block;
	font-size: 120%;
}


/*** Typo ***/
h1 {
	font-size: 230%;
	font-weight: normal;
	margin: 0 0 .6em;
}

h2 {
	font-size: 140%;
	font-weight: normal;
	margin: 1em 0 .6em;
}

a {
	color: #006aeb;
	text-decoration: none;
	border-radius: 3px;
}

a:hover, a:active, a:focus {
	background-color: #006aeb;
	color: #ffffff;
}

table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1em 0 2em;
}

thead th {
	text-align: left;
	color: #666;
}

th, td {
	padding: 5px 6px 4px;
}

td {
	border-top: 1px solid #F2EEE1;
}

tr.even {
	background-color: white;
}

tr.odd {
	background-color: #FCFAF5;
}

table.tasks tr.done {
	color: #888;
	text-decoration: line-through;
}

table.tasks .created {
	font-size: smaller;
	width: 70px;
	text-align: right;
	white-space: nowrap;
	color: #A07D1F;
}

table.tasks .list {
	width: 65px;
}

table.tasks .user {
	font-size: smaller;
}

table.tasks .action {
	width: 75px;
}


/*** Forms ***/
fieldset {
	border: none;
	margin: 1.5em 0;
	padding: 1ex 0;
}

legend {
	font-weight: bold;
	margin-left: 0;
}

label {
	font-weight: bold;
}

form div.pair {
	margin-bottom: 1ex;
}

form div.pair label {
	display: block;
	width: 130px;
	text-align: right;
	float: left;
	line-height: 2;
	vertical-align: middle;
}

form div.pair div.input {
	margin-left: 150px;
}

form div.pair div.input label {
	width: auto;
	display: inline;
	float: none;
	line-height: normal;
}

form ul.error {
	margin: 0;
	padding: 0;
	list-style: none;
}

form ul.error li {
	display: block;
	padding: .8em;
	margin-bottom: 1em;
	border: 2px solid #FBC2C4;
	background: #FBE3E4;
	color: #8a1f11;
}

input[type=text], input[type=password], select {
	border-radius: 3px;
	border: 1px solid silver;
	padding: .3em;
	margin-right: .5em;
}

input[type=checkbox] {
	vertical-align: middle;
}

/*** Flash messages ***/
div.flash {
	padding: .8em;
	margin-bottom: 1em;
	border: 2px solid #ddd;
}

div.flash.success {
	background: #E6EFC2;
	color: #264409;
	border-color: #C6D880;
}

div.flash.info {
	background: #FFF6BF;
	color: #514721;
	border-color: #FFD324;
}

div.flash.error {
	background: #FBE3E4;
	color: #8a1f11;
	border-color: #FBC2C4;
}


/*** Icons ***/
.icon {
	padding-left: 24px;
	background-position: 0 50%;
	background-repeat: no-repeat;
}

.icon.tick {
	background-image: url("");
}

.icon.user {
	background-image: url("");
}

.icon.edit {
	background-image: url("");
}